package com.aiti.lulian.mapper;

import com.aiti.base.core.base.mapper.SuperMapper;
import com.aiti.lulian.dto.LuLianDockingMeetingDetailsDto;
import com.aiti.lulian.entity.LuLianDockingMeetingDetails;
import com.aiti.lulian.entity.NameAndValue;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author WongMZ
 * @CreateDate 2024-05-28
 * @Description: LuLianDockingMeetingDetailsMapper接口
 */
@Repository
public interface LuLianDockingMeetingDetailsMapper extends SuperMapper<LuLianDockingMeetingDetails> {
    LuLianDockingMeetingDetails selectDetailsByBaseId(@Param("baseId") String baseId);

    List<LuLianDockingMeetingDetails> findPage(Page<LuLianDockingMeetingDetails> page, @Param("details") LuLianDockingMeetingDetailsDto details,@Param("userId") String userId);

    List<LuLianDockingMeetingDetails> findList(@Param("meetingIds") List<String> meetingIds, @Param("activityName") String activityName, @Param("userId") String userId);

    List<LuLianDockingMeetingDetails> findPurchaserSignUpList(@Param("meetingIds") List<String> meetingIds, @Param("activityName") String activityName, @Param("userId") String userId);

    List<NameAndValue> queryCgsCount(@Param("list") List<String> meetingDetails);

    List<NameAndValue> queryGysCount(@Param("list")List<String> meetingDetails);

}
